home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 1 Issue 2 / PDCD-1 - Issue 02.iso / _utilities / utilities / 001 / infobar / !InfoBar / !Help next >
Text File  |  1994-09-25  |  4KB  |  56 lines

  1.                                       Info Bar
  2.                                       ÿÿÿÿÿÿÿÿ
  3.  
  4. 0.04 (25-Sep-94)  David G Jones
  5.  
  6. This module will add a strip of simple readouts within the top left of the icon bar. Specifically:
  7.  
  8.     Å Date             
  9.     Å Time
  10.     Å Mode number
  11.     Å Free memory
  12.  
  13. The time section will only be updated once every minute so there is effectively no reduction in the desktop's speed. Redrawing should be pretty prompt as well.
  14.  
  15. ÿÿ Info Bar rationale ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  16. Ok so why bother with this module. I was using a collection of applications to provide the same functionality, which produced a clutter of icons. The one missing thing was a date readout which I was always running foul of. So I packaged them all up, and placed them off to one side.
  17.  
  18. The only problem with this course of action was with the removal of Stuart Hickinbottom's cool little IconBar Clock whose second hand was a nice indicator of whether the desktop was still polling. As a result I souped up Funky IconZ2 which produces a rotating Task Manager icon, and recently rereleased. As well as testing whether the desktop is polling, at high frame rates also a rough indication of the polling rate.
  19.  
  20. ÿÿ RiscPCs ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  21. This hasn't been tested on a RiscPC but I suppose one area where you may run into problems is the mode number. I assume it is a one byte number.
  22.  
  23. ÿÿ Customization ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  24. There are a couple of problems you may run into, here are a few ways to get round them. Unfortunately they all involve playing around with the modules source code. To recompile after a modification just run it. Ensure that the Currently Selected Directory has been set to !InfoBar. If you do edit the source ensure that you have an unmodified copy in case disaster greets you.
  25.  
  26. Å One problem that you might find is that the infobar will impair the top of the ResourceFiler icon. A simple way out of this quandary is too ensure the ResourceFiler is dead before the Desktop is started:
  27.     *unplug ResourceFiler
  28. Then set the ReplaceResource% variable to TRUE in the module source. Run this to compile the new module. Once this new version is loaded up there should be no conflict with the icon and InfoBar. The new icon only responds to Select and Adjust mouse clicks.
  29.  
  30. Å You might not be too keen on the format of the Date/Time. The standard time format field names are used to generate the values, stored at TimeFormat & DateFormat. So it is easy to change these. Things can escalate at this stage, you may have to increase the buffer they are read into, Date & Time. Also check out readDateAndTime code. Also the positions of areas may have to be changed, TimeX0%/TimeX1%/DateX...
  31.  
  32. ÿÿ Releases ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  33. 0.01 (28-Aug-94)
  34. 0.02 (05-Sep-94)
  35. 0.03 (18-Sep-94)
  36. 0.04 (25-Sep-94)  First release into the big world
  37.  
  38. The customary set of ideas for future outlandish additions:
  39. Å Allow info bar to be either on the left or right of the icon bar.
  40. Å Add Menu structure with at least Info & Quit entries.
  41. Å Easier customizing of Time/Date formats and repositioning their display.
  42. Å Use "Icon OverDrive" technology to improve replacement of ResourceFiler icon.
  43. Å Simple alarm, just the time.
  44. Å Alarm section utilizing Alarm modules set of stored alarms.
  45.  
  46. ÿÿ Public Domain ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  47. This software is in the Public Domain so you can do whatever you like with it. If you make any modifications that may be useful to others then send me a copy and I will include it in any further releases.
  48.  
  49. Ok, if you have any comments then send them in. If you have any ideas for any further little desktop widgets then get in contact and perhaps we can have a bash at creating them.
  50.  
  51.     David G Jones
  52.     160 Hazelwood Drive
  53.     ST. ALBANS
  54.     Herts   AL4 0UZ
  55.     0727 - 852548
  56.     David.GJones@launchpad.unc.edu